package com.itmuch.cloud.interceptor;

import feign.RequestInterceptor;
import feign.RequestTemplate;

public class GlobalFeignInterceptor implements RequestInterceptor {
    @Override
    public void apply(RequestTemplate requestTemplate) {
        requestTemplate.header("Authorization", "Bearer " + "123456");
        requestTemplate.header("X-APP-ID", "microservice-consumer-movie-feign");
    }
}
